bite my tongue

Translations
прикусить язык
I wanted to say something rude, but I bit my tongue.
Я хотел сказать что-то грубое, но прикусил язык.